//package com.daxt.controller.api;
//
//import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
//import com.baomidou.mybatisplus.core.metadata.IPage;
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.daxt.common.result.*;
//import com.daxt.mapper.archives.ArchivesDocReceiveMapper;
//import com.daxt.model.service.archives.vo.*;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//@Api(tags = "解析文件")
//@RestController
//@RequestMapping("/receiveDoc")
//public class ReceiveDocController {
//
//    @Autowired
//    private ArchivesDocReceiveMapper archivesDocReceiveMapper;
//
//
//    @ApiOperation(value = "获取解析文件列表", notes = "")
//    @GetMapping("/")
//    public Result<PageInfo<ArchivesDocReceive>> list(@ApiParam("") @RequestParam(value = "pageNum", required = true) Integer pageNum,
//                                     @ApiParam("") @RequestParam(value = "pageSize", required = true) Integer pageSize) {
//
//        IPage<ArchivesDocReceive> page = new Page<ArchivesDocReceive>(pageNum,pageSize);
//        IPage<ArchivesDocReceive> pageList = archivesDocReceiveMapper.selectPage(page, new QueryWrapper<ArchivesDocReceive>());
//
//        PageInfo<ArchivesDocReceive> data = PageUtil.data(pageList.getPages(), pageList.getCurrent(), pageList.getTotal(),
//                pageList.getRecords());
//
//        return ResultUtil.success(data);
//
//    }
//
//
//
//}
